//
//  ESDuanziTableCell.h
//  Eyeshot
//
//  Created by admin on 15/7/3.
//  Copyright (c) 2015年 eyeshot. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ESCellTopView.h"
@class ESDuanzi;


@class ESDuanziTableCell;
@protocol ESDuanziTableCellDelegate <NSObject>
@optional
- (void)duanZiTableViewCell:(ESDuanziTableCell *)cell didSeletedUserBtn:(ESCellUserProfile *)btn;//点击头像进入详情

@end

@class ESToolbar;
@class ESDuanzi;

@interface ESDuanziTableCell : UITableViewCell
@property (nonatomic, strong) ESDuanzi *model;
@property (nonatomic, weak) ESToolbar *buttomView;
+ (CGFloat)heightForCellWithModel:(ESDuanzi *)model;

@property (nonatomic, weak) id<ESDuanziTableCellDelegate>delegate;
@end
